define([
    "app"
],function (app) {
   app.service("signFileDataService",[
       "$http",
       function ($http) {
           return {
               getAllTeamNeedToSignFile: function () {
                   return $http({
                       url: requestRootUrl + "api/team-in/all-team-need-to-sign-file",
                       method:"GET"
                   })
               },
               signFileDone: function (teamId) {
                   return $http({
                       url: requestRootUrl + "api/team-in/sign-file-done",
                       method:"POST",
                       data:{
                           teamId: teamId
                       }
                   })
               }
           }
       }
   ])
});